INCLUDEPATH += $$PWD

####  Windows ### - Begin
win32{

    QMAKE_LFLAGS_DEBUG     = /DEBUG   /NODEFAULTLIB:libc.lib /NODEFAULTLIB:libcmt.lib
    QMAKE_LFLAGS_RELEASE   = /RELEASE /NODEFAULTLIB:libc.lib /NODEFAULTLIB:libcmt.lib

    INCLUDEPATH += $$PWD/include

    CONFIG(debug,debug|release){
        contains(QT_ARCH, i386) {

            LIBS += -L$$PWD/lib/x86/Debug -lyuv

        } else {

            LIBS += -L$$PWD/lib/x64/Debug -lyuv
        }
    }
    else{
        contains(QT_ARCH, i386) {

            LIBS += -L$$PWD/lib/x86/Release -lyuv

        } else {

            LIBS += -L$$PWD/lib/x64/Release -lyuv
        }
    }

#        #解决无法解析的外部符号 __imp__vsnprintf
#        LIBS += legacy_stdio_definitions.lib

}
####  Windows  ### - End

unix{
    #LIBS += -L$$PWD/lib -lyuv
    LIBS += $$PWD/lib/libyuv.a
}

